package cn.yly.esearch.sql4es.sql2dsl;

import java.util.List;
import java.util.Map;

/**
 * 新增和更新的bean
 * */
public class EsIdBean {
	
	/**
	 * id
	 * */
	private List<String> ids;
	
	/**
	 * es数据库里面的数据
	 * */
	private List<Map<String,Object>> ListData;
	/**
	 * sql里面的数据，添加或者更新才有数据
	 * */
	private Map<String,Object> addOrUpdate;
	/**
	 * 总共有多少条符合的数据
	 * */
	private long size;
	
	

	public long getSize() {
		return size;
	}

	public void setSize(long size) {
		this.size = size;
	}

	public List<String> getIds() {
		return ids;
	}

	public void setIds(List<String> ids) {
		this.ids = ids;
	}

	public List<Map<String, Object>> getListData() {
		return ListData;
	}

	public void setListData(List<Map<String, Object>> listData) {
		ListData = listData;
	}


	public Map<String, Object> getAddOrUpdate() {
		return addOrUpdate;
	}

	public void setAddOrUpdate(Map<String, Object> addOrUpdate) {
		this.addOrUpdate = addOrUpdate;
	}

	@Override
	public String toString() {
		return "EsIdBean [ids=" + ids + ", ListData=" + ListData + ", addOrUpdate=" + addOrUpdate + ", size=" + size
				+ "]";
	}

	
	
	

}
